import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import { createPinia } from 'pinia'
import { comps } from './vant-config'
const app = createApp(App)
app.use(router)

app.use(createPinia())

// 循环（注册组件）
comps.forEach(item=>{
    app.use(item.comp)
})

app.mount('#app')
